package se.sics.kompics.tutorial.tutorial3;

import se.sics.kompics.launch.Scenario;
import se.sics.kompics.launch.Topology;

public final class Executor_RIWC {
	
	public static void main(String[] args) {
		Topology topology1 = new Topology()
		{
			private static final long serialVersionUID = 5917842835397017771L;

			{
				node(0, "127.0.0.1", 22031);
				node(1, "127.0.0.1", 22032);
				node(2, "127.0.0.1", 22033);
				defaultLinks(1000, 0);
			}
		};
		
		Scenario scenario1 = new Scenario(Main_RIWC.class) {
			{
				command(0, "D30000");
				command(1, "D500:W4:D25000");
				command(2, "D10000:R");
			}
		};
		
		scenario1.executeOn(topology1);
		//System.exit(0);
	}
	
}
